﻿@model FFLTask.SRV.ViewModel.Task.Content._AssignOwnModel
@using FFLTask.GLB.Global.Enum
<table id="edit_column_@TaskProcess.Assign">
    <tr>
        <th class="first_column">
            分配给：
        </th>
        <td>
            @Html.DropDownListFor(m => m.SelectedOwnerId, new SelectList(Model.Owners, "Id", "Name"), "------")
        </td>
    </tr>
</table>
@if (false)
{
    <script src="/Resource/Scripts/jquery-2.1.0-vsdoc.js"></script>
}
<script type="text/javascript">
    $(document).ready(function () {
        $("#@Html.IdFor(m => m.SelectedOwnerId)").change(function () {
            if ($("[name='InProcess']")) {
                $("[name='InProcess']").remove();
            }
        })
    })
</script>